<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html class="no-js" lang="en">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
    <title><?php echo ($webInfo["en_name"]); ?>/<?php echo ($webInfo["name"]); ?></title>

    <link href="<?php echo (CSS_URL); ?>styles.css" type="text/css" rel="stylesheet" media="screen,projection"/>
    <script type="text/javascript" src="<?php echo (JS_URL); ?>jquery.js"></script>
</head>
<body>


<section class="f-page toggle" id="js-f-page">
    <!-- left-slider-wapper -->
    <div class="f-left-slider-wapper-bloc">
        <div class="f-left-slider-wapper-fixed">
            <div class="f-left-slider-wapper-logo">
                <div>
                    <svg xmlns="http://www.w3.org/2000/svg"
                         width="100%" height="90px" viewBox="0 0 326 261"
                         enable-background="new 0 0 326 261">
                        <path d="M59.8 225l-12.4 36.1h7.3l3.3-10.2h12.3l3.5 10.2h7.6l-12.6-36.1H59.8zM59.2 245.9l3-8.9c0.7-2.1 1.3-4.7 1.8-6.7h0.1c0.6 2.1 1.2 4.6 1.9 6.8l3 8.9H59.2zM136 237.6c0 5.5 0.2 10.2 0.6 15h-0.1c-1.8-3.9-4-8.1-6.6-12.1l-10-15.5h-8v36.1h6.5V248.2c0-5.9-0.1-10.7-0.3-15.4l0.2-0.1c1.9 4.1 4.5 8.5 6.9 12.4l10.1 15.9h7.3v-36.1h-6.5V237.6zM0 261.1h7v-15.3h14.2v-5.4H7v-10h15.2v-5.4H0V261.1zM172.3 230.6h11v30.6h7v-30.6h11.1v-5.5h-29.2V230.6zM198.1 49.2c0.1-0.2 0.1-0.3 0.2-0.5 1.3-3.4 3.1-6.4 5.1-9 0.2-0.2 0.3-0.4 0.5-0.6 0.1-0.1 0.2-0.2 0.3-0.4 0.4-0.4 0.8-0.9 1.2-1.2 7-7.2 16.8-10.3 25.5-6.9 2 0.8 3.9 1.9 5.5 3.2 -13.6-18.5-29.5-12.2-33.6-10.1 -13.5 7.4-21.6 27.7-27.5 65.9 -0.1 0.4-5.6 36.9-14.2 52l-0.1 0.2c-0.1 0.1-7.9 14.4-22.5 17.8 -3.4 0.8-6.2 1.2-8.9 1.2 -18.9 0-34.2-15.4-34.2-34.2 0-11.3 5.5-21.4 14-27.6 0.2-0.2 0.4-0.4 0.4-0.4 13.8-10.3 29.3-8.6 34-7.8l0.1-0.3c0.4-2.5 0.9-5.2 1.3-8 -5-1.8-10.3-2.7-15.7-2.7 -25.8 0-46.7 21-46.7 46.7 0 25.8 21 46.7 46.7 46.7 3.6 0 7.4-0.5 11.7-1.5 19.5-4.6 29.5-21.9 30.6-24 9.9-17.1 15.5-54.7 15.8-56.3C190.9 71.3 194.4 58 198.1 49.2zM214.3 0c-3.6 0-7.4 0.5-11.7 1.5 -19.7 4.6-29.7 22.3-30.7 24 -9.8 17.2-15.6 54.7-15.8 56.2 -5.5 36.2-12.4 50.4-19.5 55.7 -6.9 6.4-16.2 9-24.4 5.8 -2.6-1-4.9-2.5-6.9-4.4 4.5 6.7 16.3 19.4 36.2 10.4 0 0 0.7-0.4 1.7-1 12.2-8.3 19.8-28.4 25.3-64.6 0.1-0.4 5.6-36.9 14.3-52l0.1-0.2c0.1-0.1 7.9-14.4 22.5-17.8 3.4-0.8 6.2-1.2 8.8-1.2 18.9 0 34.2 15.4 34.2 34.2 0 12.2-6.4 22.9-16 29 -11.2 8.5-26.8 7-32.2 6.2 -0.2 1.1-0.3 1.7-0.3 1.7 -0.4 2.5-0.8 4.9-1.2 7.2 4.9 1.7 10.1 2.6 15.4 2.6 25.8 0 46.7-21 46.7-46.7C261 21 240 0 214.3 0zM324 225h-9.2l-5.3 14.5c-1.5 4.2-2.8 8.7-3.8 12.6h-0.2c-1-4-2.2-8.3-3.6-12.5l-5-14.5h-9.3l-2.6 36.1h6.6l0.9-14.5c0.3-4.9 0.5-10.7 0.7-15.4h0.1c1 4.6 2.4 9.5 3.9 14.1l5.2 15.4h5.4l5.6-15.6c1.7-4.6 3.3-9.4 4.6-13.9h0.2c-0.1 4.9 0.2 10.6 0.5 15.2l0.7 14.7h6.9L324 225zM238.3 245.1h14.6v-5.4h-14.6v-9.3h15.4v-5.4h-22.5v36.1h23.3v-5.4h-16.3V245.1z"
                              fill="#FAFAFA"/>
                    </svg>
                </div>
            </div>
            <div class="f-left-slider-wapper-user">
                <div class="f-left-slider-wapper-user-img">
                    <a href="<?php echo U('User/info',array('id'=>code($_SESSION['home']['id'],1)));?>">
                        <?php if(($_SESSION['home']['image']) == ""): ?><img src="<?php echo (IMG_URL); ?>fantem-intranet-user-placeholder.jpg" alt="">
                        <?php else: ?>
                            <img src="<?php echo (PUBLIC_URL); ?>Upload/<?php echo ($_SESSION['home']['image']); ?>" alt=""><?php endif; ?>
                    </a>
                </div>
                <p class="f-left-slider-wapper-user-name">
                    <a href="<?php echo U('User/info',array('id'=>code($_SESSION['home']['id'],1)));?>">
                        <?php if($_SESSION['home']['name']!= ''): echo ($_SESSION['home']['name']); ?>
                        <?php else: ?>
                            <?php echo ($_SESSION['home']['nickname']); endif; ?>
                    </a>
                </p>
                <p class="f-left-slider-wapper-user-notice">
                    <span>
                        <a href="<?php echo U('Im/index');?>" 
                                <?php if(($_SESSION['lang']) == "1"): ?>title="System information"
                                <?php else: ?>
                                    title="系统信息"<?php endif; ?> ><svg xmlns="http://www.w3.org/2000/svg"
                             preserveAspectRatio="xMidYMid" viewBox="0 0 20 20">
                            <path fill="#737373" d="M7.267,19.258c1.407,0,2.547-0.958,2.547-2.139H4.719C4.719,18.3,5.859,19.258,7.267,19.258z
    			 M12.871,13.145c-0.458-0.458,0-3.866,0-6.21c0-1.995-1.408-4.501-4.089-5.204C8.715,0.763,8.066,0,7.267,0
    			S5.818,0.763,5.751,1.731C3.07,2.434,1.662,4.939,1.662,6.935c0,2.344,0.458,5.751,0,6.21C1.204,13.604,0,15.896,0,15.896h14.533
    			C14.533,15.896,13.329,13.604,12.871,13.145z"/>
                        </svg></a>
                        <a href="#" class="center"><i>
                                <?php if(($_SESSION['home']['system_num']) != "0"): echo ($_SESSION['home']['system_num']); endif; ?></i>
                        </a>
                    </span>
                    <span>
                        <a href="<?php echo U('Im/imList');?>"
                            <?php if(($_SESSION['lang']) == "1"): ?>title="My message"
                            <?php else: ?>
                                title="我的留言"<?php endif; ?>
                           ><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid" viewBox="0 0 20 20"
                             style="width: 24px;">
                            <path d="M6.7 3.8C3 3.8 0 6.4 0 9.6c0 1.8 0.9 3.4 2.4 4.4l-0.8 2 2.3-1.2c0.8 0.3 1.8 0.5 2.7 0.5 3.7 0 6.7-2.6 6.7-5.7C13.4 6.4 10.4 3.8 6.7 3.8zM3.5 11c-0.4 0-0.8-0.3-0.8-0.8 0-0.4 0.3-0.8 0.8-0.8 0.4 0 0.8 0.3 0.8 0.8C4.3 10.7 4 11 3.5 11zM6.5 11c-0.4 0-0.8-0.3-0.8-0.8 0-0.4 0.3-0.8 0.8-0.8S7.2 9.8 7.2 10.3C7.2 10.7 6.9 11 6.5 11zM9.4 11c-0.4 0-0.8-0.3-0.8-0.8 0-0.4 0.3-0.8 0.8-0.8s0.8 0.3 0.8 0.8C10.1 10.7 9.8 11 9.4 11zM19.2 5.7C19.2 2.6 16.2 0 12.5 0 9.8 0 7.5 1.3 6.5 3.2c0.1 0 0.2 0 0.2 0 4.1 0 7.4 2.8 7.4 6.3 0 0.6-0.1 1.2-0.3 1.8 0.8-0.1 1.5-0.4 2.1-0.7l2.7 1.2 -1.3-2.2C18.5 8.6 19.2 7.2 19.2 5.7z"
                                  fill="#737373"/>
                            </svg></a><a href="user-message.html" class="center"><i>
                                <?php if(($_SESSION['home']['im_num']) != "0"): echo ($_SESSION['home']['im_num']); endif; ?> 
                            </i></a>
                    </span>
                    <span>
                        <a href="<?php echo U('User/userList');?>"
                            <?php if(($_SESSION['lang']) == "1"): ?>title="My friends"
                            <?php else: ?>
                                title="我的好友"<?php endif; ?>
                           ><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 18" preserveAspectRatio="xMidYMid">
                            <path d="M6.8 6.7c1.8 0 3.3-1.5 3.3-3.3C10.2 1.5 8.7 0 6.8 0S3.5 1.5 3.5 3.3C3.5 5.2 5 6.7 6.8 6.7zM6.8 7.7c-3.2 0-5.9 2.2-6.8 5.2 1.8 2.1 4.4 3.4 7.4 3.4 2.5 0 4.7-0.9 6.5-2.5C13.3 10.4 10.4 7.7 6.8 7.7z"
                                  fill="#737373"/>
                        </svg></a><a href="user-apply.html" class="center"><i>
                               </i></a>
                    </span>
                </p>
            </div>
            <div class="f-left-slider-wapper-nav">
                <ul>
                    <li>
                        <a href="<?php echo U('Notice/indexNews',array('sign'=>code('2',1)));?>">
                            <span>
                                <em>
                                    <svg xmlns="http://www.w3.org/2000/svg"
                                         preserveAspectRatio="xMidYMid" viewBox="0 0 20 10">
                                        <path d="M16.6 0c-0.9 0-1.6 0.7-1.6 1.6 0 0.3 0.1 0.5 0.2 0.7L11.9 5.7c-0.2-0.1-0.5-0.2-0.7-0.2 -0.2 0-0.3 0-0.5 0.1L8.4 2.5c0.2-0.3 0.3-0.6 0.3-0.9C8.7 0.7 8 0 7.1 0 6.2 0 5.5 0.7 5.5 1.6c0 0.3 0.1 0.5 0.2 0.7L2.3 5.7c-0.2-0.1-0.5-0.2-0.7-0.2C0.7 5.5 0 6.2 0 7.1c0 0.9 0.7 1.6 1.6 1.6s1.6-0.7 1.6-1.6c0-0.3-0.1-0.5-0.2-0.7l3.3-3.3c0.2 0.1 0.5 0.2 0.7 0.2 0.2 0 0.3 0 0.5-0.1l2.2 3c-0.2 0.3-0.3 0.6-0.3 0.9 0 0.9 0.7 1.6 1.6 1.6s1.6-0.7 1.6-1.6c0-0.3-0.1-0.5-0.2-0.7l3.3-3.3c0.2 0.1 0.5 0.2 0.7 0.2 0.9 0 1.6-0.7 1.6-1.6C18.2 0.7 17.5 0 16.6 0z"
                                              fill="#737373"/>
                                    </svg>
                                </em>
                                <?php if(($_SESSION['lang']) == "1"): ?>Upcoming Events
                                <?php else: ?>
                                    最近活动<?php endif; ?>
                                </span></a>
                        <div class="f-left-slider-wapper-sub-nav">
                            <ul>
                                <?php if(is_array($myActivList)): foreach($myActivList as $key=>$myActivList): ?><li><a href="<?php echo U('Club/activityInfo',array('id'=>code($myActivList['id'],1)));?>"><?php echo ($myActivList["theme"]); ?></a></li><?php endforeach; endif; ?>
                            </ul>
                        </div>
                    </li>
                    <li>
                        <a href="<?php echo U('Club/index',array('uid'=>code($_SESSION['home']['id'],1)));?>">
                            <span>
                                <em>
                                    <svg xmlns="http://www.w3.org/2000/svg"
                                         preserveAspectRatio="xMidYMid" viewBox="0 0 20 20">
                                        <path d="M17.4 10c-0.4-2.5-2.5-4.4-5.1-4.4 -2.1 0-3.9 1.3-4.7 3.1C6.8 8.2 5.9 7.9 4.9 7.9c-2.3 0-4.3 1.6-4.9 3.7 1.3 1.5 3.2 2.5 5.4 2.5 1.8 0 3.4-0.7 4.7-1.8 -0.1-0.4-0.2-0.8-0.4-1.2 0.9 0.4 1.9 0.7 3 0.7C14.5 11.8 16.2 11.1 17.4 10zM12.3 4.8c1.3 0 2.4-1.1 2.4-2.4C14.7 1.1 13.6 0 12.3 0c-1.3 0-2.4 1.1-2.4 2.4C9.9 3.8 11 4.8 12.3 4.8zM4.9 7.1c1.3 0 2.4-1.1 2.4-2.4 0-1.3-1.1-2.4-2.4-2.4S2.5 3.4 2.5 4.7C2.5 6 3.6 7.1 4.9 7.1z"
                                              fill="#737373"/>
                                    </svg>
                                </em>
                                <?php if(($_SESSION['lang']) == "1"): ?>Groups 
                                <?php else: ?>
                                    我的俱乐部<?php endif; ?>
                            </span>
                        </a>
                        <div class="f-left-slider-wapper-sub-nav">
                            <ul>
                                <?php if(is_array($myClubList)): foreach($myClubList as $key=>$myClubList): ?><li><a href="<?php echo U('Club/activInfoList',array('group_id'=>code($myClubList['id'],1),'from'=>code('1',1)));?>"><?php echo ($myClubList["club_name"]); ?>
                                            <?php if(($myClubList['no_read']) == "1"): ?><em></em><?php endif; ?>
                                        </a>
                                    </li><?php endforeach; endif; ?>
                            </ul>
                        </div>
                    </li>
                    <li><a href="<?php echo U('Kpi/index');?>"><span><em>
                        <svg xmlns="http://www.w3.org/2000/svg"
                             preserveAspectRatio="xMidYMid" viewBox="0 0 20 20">
                            <path d="M12.5 3.1H6.6c-1.2 0-2.1 1-2.1 2.1V13c0 1.2 1 2.1 2.1 2.1h5.9c1.2 0 2.1-1 2.1-2.1V5.2C14.7 4.1 13.7 3.1 12.5 3.1zM13.7 13c0 0.6-0.5 1.1-1.1 1.1H6.6c-0.6 0-1.1-0.5-1.1-1.1V5.2c0-0.6 0.5-1.1 1.1-1.1h5.9c0.6 0 1.1 0.5 1.1 1.1V13zM1 9.9V2.1C1 1.5 1.5 1 2.1 1h5.9c0.6 0 1.1 0.5 1.1 1.1h1C10.2 1 9.2 0 8 0H2.1C1 0 0 1 0 2.1v7.8c0 1.2 1 2.1 2.1 2.1h1v-1h-0.9C1.5 11 1 10.5 1 9.9z"
                                  fill="#787777"/>
                        </svg>
                    </em>
                        <?php if(($_SESSION['lang']) == "1"): ?>KPI 
                        <?php else: ?>
                            绩效考核<?php endif; ?>
                            </span></a>
                        <div class="f-left-slider-wapper-sub-nav">
                            <?php if(is_array($kpi_stasks)): foreach($kpi_stasks as $key=>$kStasks): ?><p><?php echo ($kStasks["subjects"]); ?></p><?php endforeach; endif; ?>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="f-left-slider-waper-login center">
                <a href="<?php echo U('Manager/logout');?>">
                    <?php if(($_SESSION['lang']) == "1"): ?>logout
                    <?php else: ?>
                        注销<?php endif; ?>
                </a>
            </div>
        </div>
        <div class="f-left-slider-wapper-toggle">
            <div class="toggle-container">
                <a href="#" class="toggle-remove"><span class="span-toggle" id="js-f-slider-waper-hide">
                    <svg xmlns="http://www.w3.org/2000/svg"
                         preserveAspectRatio="xMidYMid" viewBox="0 0 20 20">
                        <path d="M5.2 10.2h8.9V9.2H5.2V10.2zM9.7 0C4.4 0 0 4.4 0 9.7c0 5.4 4.4 9.7 9.7 9.7s9.7-4.4 9.7-9.7C19.4 4.4 15.1 0 9.7 0zM9.7 18.4C4.9 18.4 1 14.5 1 9.7S4.9 1 9.7 1c4.8 0 8.7 3.9 8.7 8.7S14.5 18.4 9.7 18.4z"
                              fill="#FFF"/>
                    </svg>
    </span></a></div>
        </div>
    </div>
    

    <div class="f-layout-contain">

        <!-- navitagion -->
        <header class="f-navbar-bloc">
            <div class="container f-navbar" id="js-f-navbar">
                <div class="row">
                    <nav>
                        <div class="nav-wrapper">
                            <div class="col s9 m4">
                                <form>
                                    <div class="input-field f-navbar-input-field">
                                        <input id="search-example" type="search" required="">
                                        <label for="search-example" class=""><i class="material-icons">search</i></label>
                                        <i class="material-icons">close</i>
                                    </div>
                                </form>
                            </div>
                            <div  class="col s3 m8">
                                <a href="#" data-activates="slide-out" class="button-collapse right f-button-collapse"><i class="material-icons">menu</i></a>
                                <ul class="hide-on-med-and-down" id="js-f-menu-toggle">
                                    <li><a href="<?php echo U('Index/index');?>">
                                            <?php if(($_SESSION['lang']) == "1"): ?>Home
                                            <?php else: ?>
                                               首页<?php endif; ?>
                                        </a></li>
                                    <li><a href="<?php echo U('Notice/indexNews',array('sign'=>code('4',1)));?>">
                                            <?php if(($_SESSION['lang']) == "1"): ?>Blog
                                            <?php else: ?>
                                               博客<?php endif; ?>
                                        </a>
                                        <ul class="sub-menu">
                                            <li><a href="<?php echo U('Notice/indexNews',array('sign'=>code('2',1)));?>">
                                                   <?php if(($_SESSION['lang']) == "1"): ?>News
                                                   <?php else: ?>
                                                       新闻<?php endif; ?>
                                                </a></li>
                                            <li><a href="<?php echo U('Notice/indexNews',array('sign'=>code('1',1)));?>">
                                                   <?php if(($_SESSION['lang']) == "1"): ?>Announcements
                                                   <?php else: ?>
                                                       公告<?php endif; ?>
                                                </a></li>
                                        </ul>
                                    </li>
                                    <li><a>
                                            <?php if(($_SESSION['lang']) == "1"): ?>Activities/Clubs
                                            <?php else: ?>
                                                活动/俱乐部<?php endif; ?>                                            
                                        </a>
                                        <ul class="sub-menu">
                                            <li><a href="<?php echo U('Club/activityList',array('type'=>code('3',1)));?>">
                                                <?php if(($_SESSION['lang']) == "1"): ?>Events
                                                <?php else: ?>
                                                    事件<?php endif; ?>
                                            </a></li>
                                            <li><a href="<?php echo U('Club/index');?>">
                                                <?php if(($_SESSION['lang']) == "1"): ?>Club
                                                <?php else: ?>
                                                    俱乐部<?php endif; ?> 
                                            </a></li>
                                        </ul>
                                    </li>
                                    <li><a href="<?php echo U('Section/index');?>">
                                        <?php if(($_SESSION['lang']) == "1"): ?>Departments
                                        <?php else: ?>
                                            部门<?php endif; ?> 
                                        </a></li>
                                    <li><a href="<?php echo U('Train/index');?>">
                                        <?php if(($_SESSION['lang']) == "1"): ?>Training
                                        <?php else: ?>
                                            培训<?php endif; ?> 
                                    </a></li>
                                    <li><span id='eng'>Eng</span>/<span id='zh'>中文</span></li>
                                </ul>
                                <ul class="side-nav" id="slide-out" >
                                    <li><a href="<?php echo U('Index/index');?>">
                                        <?php if(($_SESSION['lang']) == "1"): ?>Home
                                        <?php else: ?>
                                           首页<?php endif; ?>
                                        </a></li>
                                    <li><a href="<?php echo U('Notice/indexNews',array('sign'=>code('4',1)));?>">
                                            <?php if(($_SESSION['lang']) == "1"): ?>Blog
                                            <?php else: ?>
                                               博客<?php endif; ?></a>
                                        <ul class="sub-menu">
                                            <li><a href="<?php echo U('Notice/indexNews',array('sign'=>code('2',1)));?>">
                                                    <?php if(($_SESSION['lang']) == "1"): ?>News
                                                   <?php else: ?>
                                                       新闻<?php endif; ?>
                                                </a></li>
                                                <li><a href="<?php echo U('Notice/indexNews',array('sign'=>code('1',1)));?>">                                                    
                                                        <?php if(($_SESSION['lang']) == "1"): ?>Announcements
                                                       <?php else: ?>
                                                           公告<?php endif; ?>
                                                    </a></li>
                                        </ul>
                                    </li>
                                    <li><a>
                                            <?php if(($_SESSION['lang']) == "1"): ?>Activities/Clubs
                                            <?php else: ?>
                                                活动/俱乐部<?php endif; ?> 
                                        </a>
                                        <ul class="sub-menu">
                                            <li><a href="<?php echo U('Club/activityList',array('type'=>code('3',1)));?>">
                                                <?php if(($_SESSION['lang']) == "1"): ?>Events
                                                <?php else: ?>
                                                    事件<?php endif; ?>
                                                </a></li>
                                                <li><a href="<?php echo U('Club/index');?>">
                                                    <?php if(($_SESSION['lang']) == "1"): ?>Club
                                                    <?php else: ?>
                                                        俱乐部<?php endif; ?>
                                                    </a></li>
                                        </ul>
                                    </li>
                                    <li><a href="<?php echo U('Section/index');?>">
                                        <?php if(($_SESSION['lang']) == "1"): ?>Departments
                                        <?php else: ?>
                                            部门<?php endif; ?>
                                        </a></li>
                                    <li><a href="<?php echo U('Train/index');?>">
                                            <?php if(($_SESSION['lang']) == "1"): ?>Training
                                            <?php else: ?>
                                                培训<?php endif; ?>
                                        </a></li>
                                    <li><span id='eng'>Eng</span>/<span id='zh'>中文</span></li>
                                </ul>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </header>
        <main class="container f-container">
        <script>
            $("#eng").click(function(){
               if("<?php echo $_SESSION['lang'];?>"=='1'){
                   return false;
               }
                window.location.href="<?php echo U('Allow/zh_us',array('lang'=>'1'))?>";
            });
            $("#zh").click(function(){
                if("<?php echo $_SESSION['lang'];?>"==''){
                   return false;
                }
                window.location.href="<?php echo U('Allow/zh_us',array('lang'=>'2'))?>";                                        
            });
        </script>
<div class="row f-banner-bloc">
    <div class="col s12 l12">
        <div class="swiper-container swiper-container-horizontal">
            <div class="swiper-wrapper">
                <?php if(is_array($pList)): foreach($pList as $key=>$list): ?><div class="swiper-slide swiper-slide-prev" >
                       <a <?php if(($list['imgurl']) != ""): ?>href="<?php echo (is_http($list["imgurl"])); ?>"<?php endif; ?> target="view_window">
                            <img src="<?php echo (PUBLIC_URL); ?>Upload/<?php echo ($list["image"]); ?>" alt="" />
                        </a>
                    </div><?php endforeach; endif; ?>
            </div>
            <div class="swiper-pagination swiper-pagination-clickable swiper-pagination-bullets"><span class="swiper-pagination-bullet swiper-pagination-bullet-active"></span><span class="swiper-pagination-bullet"></span><span class="swiper-pagination-bullet"></span><span class="swiper-pagination-bullet"></span></div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col s12 m8">
        <div class="f-announcement-bloc">
            <div class="card f-announcement">
                <style>
    .f-news-list-author {
        color: #7d7b78;
        font-size: 1.4rem;
        margin: 0;
    }
    .f-news-list-author i {
        vertical-align: middle;
        display: inline-block;
        margin-right: 8px; 
    }
    .f-news-list-author i svg {
        width: 25px;
        vertical-align: middle;
    }
    .f-news-list-author time, .f-news-list-author span {
        color: #025ba6;
        padding: 0 8px; 
    }
</style>
<div class="card-content">
    <p class="card-title">
        <span class="card-title-category">
            <a href="<?php echo U('Notice/indexNews',array('sign'=>code('4',1)));?>" id='all'>
                <?php if(($_SESSION['lang']) == "1"): ?>All
                <?php else: ?>
                    所有消息<?php endif; ?>                
            </a><a href="<?php echo U('Notice/indexNews',array('sign'=>code('2',1)));?>" id='news'>
                <?php if(($_SESSION['lang']) == "1"): ?>News
                <?php else: ?>
                    新闻<?php endif; ?> 
                </a><a href="<?php echo U('Notice/indexNews',array('sign'=>code('1',1)));?>" id='an'>
                <?php if(($_SESSION['lang']) == "1"): ?>Announcements
                <?php else: ?>
                    公告<?php endif; ?></a></span>
       
        <?php if(($toptitle) == "Announcements"): ?><i class="center">
                <svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"
                     viewBox="0 0 19 18">
                    <path d="M2.3 12.6h5.5V8.4H2.3V12.6zM8.2 12.6h4.2V6.5H8.2V12.6zM2.3 7.9h5.5v-5.2H2.3V7.9zM8.2 6h4.2V2.7H8.2V6zM15.6 5.4V3.6h-1V2.6C14.6 1.2 13.5 0 12 0H2.6C1.2 0 0 1.2 0 2.6v9.8c0 1.4 1.2 2.6 2.6 2.6h9.5c1.4 0 2.6-1.2 2.6-2.6v-1h1V9.6h-1V8.4h1V6.6h-1V5.4H15.6zM13.6 12.4c0 0.9-0.7 1.6-1.6 1.6H2.6C1.7 14 1 13.3 1 12.4V2.6C1 1.7 1.7 1 2.6 1h9.5c0.9 0 1.6 0.7 1.6 1.6V12.4z"
                          fill="#737373"/>
                </svg>
            </i>
            <?php if(($_SESSION['lang']) == "1"): ?>Announcements
            <?php else: ?>
                公告<?php endif; endif; ?>
        <?php if(($toptitle) == "News"): ?><i class="center">
                <svg xmlns="http://www.w3.org/2000/svg"
                     preserveAspectRatio="xMidYMid"
                     width="22"
                     height="17">
                    <path fill="#737373"
                          d="M9.362,9.955h5.689v-1.23H9.362V9.955z M2.529,13.057h5.594V6.852H2.529V13.057z M9.362,
                              12.653h4.455v-1.23H9.362V12.653z M9.362,7.468h5.689V6.237H9.362V7.468z M17.573,
                              2.97V0H0v13.964c0,1.642,1.335,2.977,2.976,2.977h14.433c1.641,0,2.976-1.335,
                              2.976-2.977V2.97H17.573z M16.573,13.964c0,1.09-0.887,1.977-1.976,1.977H2.976C1.887,
                              15.941,1,15.054,1,13.964V1h15.573V13.964z M19.385,13.964c0,1.09-0.886,1.977-1.976,
                              1.977h-0.604c0.472-0.527,0.768-1.215,0.768-1.977V3.97h1.812V13.964z M15.052,
                              3.968H2.521v1.23h12.53V3.968z">
                    </path>
                </svg>
            </i>
            <?php if(($_SESSION['lang']) == "1"): ?>News
            <?php else: ?>
                新闻<?php endif; endif; ?>
        <?php if(($toptitle) == "All"): ?><i class="center">
                <svg xmlns="http://www.w3.org/2000/svg"
                     preserveAspectRatio="xMidYMid"
                     width="22"
                     height="17">
                    <path fill="#737373"
                          d="M9.362,9.955h5.689v-1.23H9.362V9.955z M2.529,13.057h5.594V6.852H2.529V13.057z M9.362,
                          12.653h4.455v-1.23H9.362V12.653z M9.362,7.468h5.689V6.237H9.362V7.468z M17.573,
                          2.97V0H0v13.964c0,1.642,1.335,2.977,2.976,2.977h14.433c1.641,0,2.976-1.335,
                          2.976-2.977V2.97H17.573z M16.573,13.964c0,1.09-0.887,1.977-1.976,1.977H2.976C1.887,
                          15.941,1,15.054,1,13.964V1h15.573V13.964z M19.385,13.964c0,1.09-0.886,1.977-1.976,
                          1.977h-0.604c0.472-0.527,0.768-1.215,0.768-1.977V3.97h1.812V13.964z M15.052,
                          3.968H2.521v1.23h12.53V3.968z">
                    </path>
                </svg>
            </i>
            <?php if(($_SESSION['lang']) == "1"): ?>All
            <?php else: ?>
                所有消息<?php endif; endif; ?>
    </p>
    <p class="f-news-list-author">
        <i>
            <svg xmlns="http://www.w3.org/2000/svg"
                 preserveAspectRatio="xMidYMid"
                 width="25"
                 height="25">
                <path fill="#5CADE2"
                      d="M10.5,0.496C4.984,0.496,0.496,4.984,0.496,10.5c0,5.517,4.488,10.004,10.004,10.004c5.517,
                      0,10.004-4.487,10.004-10.004C20.504,4.984,16.017,0.496,10.5,0.496z M10.5,19.504c-4.965,
                      0-9.004-4.039-9.004-9.004S5.535,1.496,10.5,1.496s9.004,4.039,9.004,9.004S15.465,19.504,
                      10.5,19.504z M8.24,14.936l6.779-4.565L8.24,6.064V14.936z">
                </path>
            </svg>
        </i>
        Posted on
        <time><?php echo (substr($noInfo["add_time"],0,10)); ?></time>
        by<span>
            <?php echo (getUsername($noInfo["user_id"])); ?>
        </span>
    </p>
    <h3 class="header">
        <?php if($noInfo['sign'] == 3): ?><a href="<?php echo (getUrl(code($noInfo["id"],1))); ?>" target="view_window">                
                <?php if(($_SESSION['lang']) == "1"): echo ($noInfo["en_title"]); ?>
                <?php else: ?>
                    <?php echo ($noInfo["title"]); endif; ?>
            </a>
        <?php else: ?>
            <?php if(($_SESSION['lang']) == "1"): echo ($noInfo["en_title"]); ?>
            <?php else: ?>
                <?php echo ($noInfo["title"]); endif; endif; ?>
    </h3>
    <p class="f-notice-info">
        <?php if($noInfo['sign'] == 3): if(($_SESSION['lang']) == "1"): echo (getText($noInfo["en_content"])); ?>
            <?php else: ?>
                <?php echo (getText($noInfo["content"])); endif; ?>
            <a href="<?php echo (getUrl(code($noInfo["id"],1))); ?>" target="view_window">Read Now</a>
        <?php else: ?>
        <?php if(($_SESSION['lang']) == "1"): echo ($noInfo["en_content"]); ?>
        <?php else: ?>
            <?php echo ($noInfo["content"]); endif; endif; ?>
    </p>
    <?php if(($noInfo['id']) != ""): ?><div class="center thumb-up">
            <span>
                <em id='zan'>
                    <svg xmlns="http://www.w3.org/2000/svg" width="30" viewBox="0 0 433 390">
                        <path d="M311.7 0c-38.3 0-72.5 17-94.8 43.5C194.4 17 160.3 0 122 0 54.6 0 0 52.4 0 117.1c0 156.1 189.7 260.2 216.8 273.2 27.1-13 216.8-117.1 216.8-273.2C433.7 52.4 379.1 0 311.7 0zM216.8 345.4C168.5 317.3 40.6 232 40.6 117.1c0-43 36.5-78 81.3-78 24.6 0 47.7 10.6 63.2 29 7.7 9.2 20.9 14.5 31.6 14.5 12.3 0 23.9-5.3 31.6-14.5 15.5-18.5 38.6-29 63.2-29h0c44.9 0 81.3 35 81.3 78C393 232 265.1 317.3 216.8 345.4z"
                              />
                    </svg>
                </em>
            </span><span id='zan_num'><?php echo ($zan); ?></span>
        </div><?php endif; ?>
    <input type="hidden" name='group_id' value='<?php echo ($noInfo["id"]); ?>'/>
</div>
<script>
    var url  ='<?php echo substr($_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"],strripos($_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"],"/"),3);?>';
    
    if(url=="/Vw"){
        $("#all").addClass("on");
    }else if(url=="/UQ"||url=="/Mw"){
        $("#news").addClass("on");
    }else{
        $("#an").addClass("on");
    }
    
    $("#zan").mouseover(function(){
        $(this).css("cursor","pointer");
    }).click(function(){
        var group_id=$("input[name='group_id']").val();
        $.post("/ft_system/Home/Notice/ajaxZan",{group_id:group_id},function(data){
            if(!data){
                if("<?php echo $_SESSION['lang'];?>"=='1'){
                    alert("Has been like,give the opportunity to others.");
                }else{
                    alert("已经赞过了，把机会留给别人吧");
                }                
            }else{
                $("#zan_num").html(data);
                
                if("<?php echo $_SESSION['lang'];?>"=='1'){
                    alert("Point like success,thank you for your support");
                }else{
                    alert("点赞成功，谢谢你的支持");
                } 
            }
        },"Html");
    });
</script>
            </div>
            <?php if(is_array($noTwoList)): foreach($noTwoList as $key=>$noTwoList): ?><div class="card f-announcement">                    
                    <div class="card-content">
                        <h3 class="header"><a href="<?php echo U('Notice/indexNews',array('id'=>code($noTwoList['id'],1)));?>"><?php echo ($noTwoList["en_title"]); ?></a></h3> 
                        <p class="f-news-info">
                            <?php if(($_SESSION['lang']) == "1"): echo (getText($noTwoList["en_content"])); ?>
                            <?php else: ?>
                                <?php echo (getText($noTwoList["content"])); endif; ?>
                        </p>
                    </div>
                </div><?php endforeach; endif; ?>
            <P class="f-btn center">
                <button class="btn waves-effect waves-light f-btn-blue c-btn-bold" type="submit"
                    name="action" id="showMore">
                            <?php if(($_SESSION['lang']) == "1"): ?>SHOW MORE
                            <?php else: ?>
                                显示更多<?php endif; ?>
                </button>
            </P>
        </div>

        <div class="f-activity-bloc">
            <div class="card f-activity">
                <div class="card-content">
                    <p class="card-title"><i>
                        <svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"
                             viewBox="0 0 20 20">
                            <path d="M6.7 3.8C3 3.8 0 6.4 0 9.6c0 1.8 0.9 3.4 2.4 4.4l-0.8 2 2.3-1.2c0.8 0.3 1.8 0.5 2.7 0.5 3.7 0 6.7-2.6 6.7-5.7C13.4 6.4 10.4 3.8 6.7 3.8zM3.5 11c-0.4 0-0.8-0.3-0.8-0.8 0-0.4 0.3-0.8 0.8-0.8 0.4 0 0.8 0.3 0.8 0.8C4.3 10.7 4 11 3.5 11zM6.5 11c-0.4 0-0.8-0.3-0.8-0.8 0-0.4 0.3-0.8 0.8-0.8S7.2 9.8 7.2 10.3C7.2 10.7 6.9 11 6.5 11zM9.4 11c-0.4 0-0.8-0.3-0.8-0.8 0-0.4 0.3-0.8 0.8-0.8s0.8 0.3 0.8 0.8C10.1 10.7 9.8 11 9.4 11zM19.2 5.7C19.2 2.6 16.2 0 12.5 0 9.8 0 7.5 1.3 6.5 3.2c0.1 0 0.2 0 0.2 0 4.1 0 7.4 2.8 7.4 6.3 0 0.6-0.1 1.2-0.3 1.8 0.8-0.1 1.5-0.4 2.1-0.7l2.7 1.2 -1.3-2.2C18.5 8.6 19.2 7.2 19.2 5.7z"
                                  fill="#737373"/>
                        </svg>
                    </i>
                        <?php if(($_SESSION['lang']) == "1"): ?>Activities 
                        <?php else: ?>
                            活动<?php endif; ?>                        
                    </p>
                    <table class="f-activity-list responsive-table centered ">
                        <thead>
                        <tr>
                            <?php if(($_SESSION['lang']) == "1"): ?><th data-field="id" class="left">Topics</th>
                                <th data-field="time">Time</th>
                                <th data-field="participant">Participants</th>
                                <th data-field="sponsor">Host</th>
                            <?php else: ?>
                                <th data-field="id" class="left">话题</th>
                                <th data-field="time">时间</th>
                                <th data-field="participant">参与人数</th>
                                <th data-field="sponsor">发起人</th><?php endif; ?>  
                        </tr>
                        </thead>
                        <tbody>
                            <?php if(is_array($clubList)): foreach($clubList as $key=>$clubList): ?><tr>
                                    <td class="first-child">
                                        <img src="<?php echo (PUBLIC_URL); ?>Upload/<?php echo ($clubList["logo"]); ?>" alt="" 
                                            <?php if(($_SESSION['lang']) == "1"): ?>title="<?php echo ($clubList["en_name"]); ?>
                                            <?php else: ?>
                                                title="<?php echo ($clubList["name"]); endif; ?>"/>
                                            <?php if(($_SESSION['lang']) == "1"): ?><a href="<?php echo U('Club/activityInfo',array('id'=>code($clubList['id'],1)));?>"><?php echo ($clubList["en_theme"]); ?></a>
                                                <p><span>Content :</span><?php echo ($clubList["en_content"]); ?></p>
                                            <?php else: ?>
                                                <a href="<?php echo U('Club/activityInfo',array('id'=>code($clubList['id'],1)));?>"><?php echo ($clubList["theme"]); ?></a>
                                                <p><span>内容 :</span><?php echo ($clubList["content"]); ?></p><?php endif; ?>
                                    </td>
                                    <td><?php echo (substr($clubList["add_time"],0,10)); ?></td>
                                    <td>
                                        <?php if(($clubList['activity_ids']) != ""): ?><a href="<?php echo U('User/userList',array('uIds'=>code($clubList['activity_ids'],1)));?>"><?php echo (getNum($clubList["id"])); ?></a>
                                        <?php else: ?>
                                            <?php echo (getNum($clubList["id"])); endif; ?>
                                    </td>
                                    <td>
                                        <a href="<?php echo U('User/info',array('id'=>code($clubList['assign_user_id'],1)));?>">
                                            <img src="<?php echo (PUBLIC_URL); ?>Upload/<?php echo ($clubList["small_photo"]); ?>" alt=""><span>
                                                <?php if(($_SESSION['lang']) == "1"): echo ($clubList["en_user"]); ?> 
                                                <?php else: ?>
                                                    <?php echo ($clubList["userName"]); endif; ?>
                                            </span>
                                        </a>
                                    </td>
                                </tr><?php endforeach; endif; ?>
                        </tbody>
                    </table>
                    <p class="f-btn center">
                        <button class="btn waves-effect waves-light f-btn-blue c-font-bold" type="submit"
                            name="action" id="activityList">
                           <?php if(($_SESSION['lang']) == "1"): ?>SHOW MORE
                            <?php else: ?>
                                显示更多<?php endif; ?>
                        </button>
                    </p>
                </div>
            </div>
        </div>
    </div>
<!--中间end-->
 
<div class="col s12 m4">
    <div class="f-right-slider-bloc">

        <div class="f-polls-bloc">
            <div class="card f-polls">
                <div class="card-content f-content">
                    <p class="card-title f-title"><i>
                        <svg xmlns="http://www.w3.org/2000/svg"
                             preserveAspectRatio="xMidYMid" viewBox="0 0 18 15">
                            <path fill="#737373" d="M1.777,0C0.796,0,0,0.795,0,1.778c0,0.981,0.796,1.777,1.777,1.777s1.777-0.796,1.777-1.777
                    C3.555,0.795,2.759,0,1.777,0z M1.777,5.506C0.796,5.506,0,6.302,0,7.284c0,0.981,0.796,1.777,1.777,1.777
                    s1.777-0.796,1.777-1.777C3.555,6.302,2.759,5.506,1.777,5.506z M1.777,11.013C0.796,11.013,0,11.809,0,12.791
                    c0,0.98,0.796,1.776,1.777,1.776s1.777-0.796,1.777-1.776C3.555,11.809,2.759,11.013,1.777,11.013z M5.336,14.567h5.903v-3.554
                    H5.336V14.567z M5.336,9.061h9.598V5.506H5.336V9.061z M5.336,0v3.555h11.807V0H5.336z"/>
                        </svg>
                    </i>
                        <?php if(($_SESSION['lang']) == "1"): ?>Polls
                        <?php else: ?>
                            民意调查<?php endif; ?>
                    </p>
                    <form action="" method="post" id="myForm">
                        <h5>
                            <?php if(($_SESSION['lang']) == "1"): echo ($examen["en_question"]); ?>
                            <?php else: ?>
                                <?php echo ($examen["question"]); endif; ?>
                        </h5>
                        <input type="hidden" id="exa_id" value="<?php echo ($examen["id"]); ?>" >
                        <input type="hidden" id="user_id" value="<?php echo ($_SESSION['home']['id']); ?>">
                        <input type="hidden" id='answer_id' value=''>
                        <?php $i=1;?>
                        <?php if(is_array($answerList)): foreach($answerList as $key=>$answerList): ?><p>
                                <input class="with-gap" onclick="clickData(this)" name="group1" type="radio" id="test<?php echo $i;?>"  value="<?php echo ($answerList["id"]); ?>">
                                <label for="test<?php echo $i;?>">
                                    <?php if(($_SESSION['lang']) == "1"): echo ($answerList["en_answer"]); ?>
                                    <?php else: ?>
                                        <?php echo ($answerList["answer"]); endif; ?>
                                </label>
                            </p>
                            <?php if(is_array($stat_ropo)): foreach($stat_ropo as $key=>$sRopo): if(($sRopo['ans_id']) == $answerList['id']): ?><div class="progress-container">
                                        <div class="progress">
                                            <div class="determinate" style="width:<?php echo ($sRopo["ans_id_roportion"]); ?>"><?php echo ($sRopo["ans_id_roportion"]); ?></div>
                                        </div>
                                    </div><?php endif; endforeach; endif; ?>
                            <?php $i++; endforeach; endif; ?>                         
                    </form>
                </div>
                <p class="f-btn center">
                    <button class="btn waves-effect waves-light f-btn-blue c-font-bold" type="submit" name="action" id="but">
                        <?php if(($_SESSION['lang']) == "1"): ?>VOTE
                        <?php else: ?>
                           投票<?php endif; ?>                        
                    </button>
                </p>
            </div>
        </div>

        <div class="f-news-bloc">
            <div class="card f-news">
                <div class="card-content">
                    <p class="card-title f-title"><i>
                        <svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid" width="22" height="17">
                            <path fill="#737373" d="M9.362,9.955h5.689v-1.23H9.362V9.955z M2.529,13.057h5.594V6.852H2.529V13.057z M9.362,
                                                      12.653h4.455v-1.23H9.362V12.653z M9.362,7.468h5.689V6.237H9.362V7.468z M17.573,
                                                      2.97V0H0v13.964c0,1.642,1.335,2.977,2.976,2.977h14.433c1.641,0,2.976-1.335,
                                                      2.976-2.977V2.97H17.573z M16.573,13.964c0,1.09-0.887,1.977-1.976,1.977H2.976C1.887,
                                                      15.941,1,15.054,1,13.964V1h15.573V13.964z M19.385,13.964c0,1.09-0.886,1.977-1.976,
                                                      1.977h-0.604c0.472-0.527,0.768-1.215,0.768-1.977V3.97h1.812V13.964z M15.052,
                                                      3.968H2.521v1.23h12.53V3.968z">
                            </path>
                        </svg>
                    </i>
                        <?php if(($_SESSION['lang']) == "1"): ?>Fantem in News 
                        <?php else: ?>
                           外部新闻<?php endif; ?>
                    </p>
                    <ul>
                        <?php if(is_array($newsList)): foreach($newsList as $key=>$newsList): ?><li class="card-action">
                                <a href="<?php echo (getUrl(code($newsList["id"],1))); ?>" target="view_window">
                                    <h5>
                                        <?php if(($_SESSION['lang']) == "1"): echo ($newsList["en_title"]); ?> 
                                        <?php else: ?>
                                           <?php echo ($newsList["title"]); endif; ?>
                                    </h5>
                                    <P>
                                        <?php if(($_SESSION['lang']) == "1"): echo (getText($newsList["en_content"])); ?>
                                        <?php else: ?>
                                            <?php echo (getText($newsList["content"])); endif; ?>
                                    </P>
                                </a>
                            </li><?php endforeach; endif; ?>
                       
                    </ul>
                </div>
                <p class="f-btn center">
                    <button class="btn waves-effect waves-light f-btn-blue c-btn-bold" type="submit" name="action" id="showNews">
                        <?php if(($_SESSION['lang']) == "1"): ?>SHOW MORE
                        <?php else: ?>
                            显示更多<?php endif; ?>                        
                    </button>
                </p>
            </div>
        </div>


        <div class="f-traning-bloc">
            <div class="card f-traning">
                <div class="card-content">
                    <p class="card-title f-title"><i>
                        <svg xmlns="http://www.w3.org/2000/svg"
                             preserveAspectRatio="xMidYMid" viewBox="0 0 17 14">
                            <path fill="#737373" d="M4.058,6.399c1.335,0,2.418-1.083,2.418-2.418c0-1.336-1.083-2.419-2.418-2.419
                    c-1.336,0-2.418,1.083-2.418,2.419C1.64,5.316,2.722,6.399,4.058,6.399z M6.651,0v7.12C6.117,6.93,5.546,6.817,4.946,6.817
                    C2.603,6.817,0.645,8.399,0,10.56c1.301,1.506,3.22,2.463,5.365,2.463c1.711,0,3.272-0.616,4.497-1.625
                    c0.26-0.168,0.473-0.414,0.59-0.725l0.331-0.883h5.372V0H6.651z M15.155,8.789h-3.997l0.445-1.188
                    c0.16-0.426,0.105-0.878-0.1-1.249l1.804-4.281L12.58,1.765l-1.682,3.992c-0.056-0.03-0.111-0.062-0.172-0.085
                    C9.954,5.381,9.085,5.775,8.795,6.548L8.239,8.03C8.053,7.873,7.858,7.728,7.651,7.599V1h7.504V8.789z"/>
                        </svg>
                    </i>
                        <?php if(($_SESSION['lang']) == "1"): ?>Training 
                        <?php else: ?>
                            培训<?php endif; ?>                        
                    </p>
                    <ul>
                        <?php if(is_array($dList)): foreach($dList as $key=>$dataList): ?><li class="card-action">
                                <a href="<?php echo U('Train/dataDownload',array('id'=>code($dataList['id'],1),'t_id'=>code($dataList['t_id'],1),'sign'=>code('2',1)));?>"><h5>
                                        <?php if(($_SESSION['lang']) == "1"): echo ($dataList["en_title"]); ?> 
                                        <?php else: ?>
                                           <?php echo ($dataList["title"]); endif; ?>                                         
                                    </h5>
                                    <P>
                                        <?php if(($_SESSION['lang']) == "1"): echo (getText($dataList["en_desc"])); ?> 
                                        <?php else: ?>
                                           <?php echo (getText($dataList["desc"])); endif; ?> 
                                    </P></a>
                            </li><?php endforeach; endif; ?>
                    </ul>
                </div>
                <p class="f-btn center">
                    <button class="btn waves-effect waves-light f-btn-blue c-btn-bold" type="submit" name="action" id="showData">
                        <?php if(($_SESSION['lang']) == "1"): ?>SHOW MORE
                        <?php else: ?>
                           显示更多<?php endif; ?>
                    </button>
                </p>
            </div>
        </div>        
    </div>
</div>
</main>
</div>
    <!-- f-footer-bloc -->
    <footer class="f-footer-bloc">
        <div class="about">
            <p class="first-child"><i>
                <svg xmlns="http://www.w3.org/2000/svg"
                     width="14" height="14" viewBox="0 0 14 14">
                    <path fill="#FAFAFA" d="M9.359,3.023c0.008-0.009,0.016-0.019,0.025-0.028c0.03-0.034,0.06-0.066,0.09-0.096
    			c0.543-0.56,1.302-0.795,1.976-0.537c0.158,0.061,0.3,0.146,0.427,0.249c-1.053-1.432-2.281-0.94-2.599-0.779
    			C8.236,2.407,7.605,3.974,7.153,6.933c-0.004,0.031-0.43,2.854-1.101,4.02l-0.008,0.014c-0.006,0.012-0.609,1.114-1.743,1.379
    			c-0.259,0.06-0.477,0.089-0.685,0.089c-1.46,0-2.648-1.188-2.648-2.648c0-0.875,0.427-1.652,1.084-2.135
    			c0.019-0.018,0.033-0.028,0.033-0.028C3.149,6.83,4.354,6.956,4.718,7.018l0.008-0.021c0.035-0.195,0.069-0.4,0.102-0.616
    			C4.439,6.242,4.032,6.171,3.615,6.171C1.622,6.171,0,7.793,0,9.787c0,1.994,1.622,3.616,3.615,3.616
    			c0.28,0,0.576-0.038,0.906-0.115c1.51-0.354,2.284-1.696,2.371-1.854c0.763-1.326,1.2-4.234,1.219-4.357
    			c0.239-1.563,0.51-2.593,0.8-3.272c0.005-0.013,0.008-0.025,0.013-0.039c0.1-0.26,0.236-0.493,0.398-0.694
    			C9.333,3.056,9.346,3.039,9.359,3.023z M10.158,0c-0.28,0-0.576,0.037-0.905,0.114c-1.527,0.357-2.301,1.725-2.374,1.86
    			c-0.76,1.328-1.203,4.228-1.221,4.351C5.23,9.122,4.7,10.222,4.149,10.633c-0.535,0.496-1.249,0.695-1.888,0.451
    			c-0.203-0.078-0.38-0.196-0.532-0.342c0.351,0.519,1.261,1.504,2.797,0.805c0,0,0.053-0.031,0.131-0.077
    			c0.943-0.646,1.53-2.199,1.958-5C6.619,6.44,7.05,3.617,7.722,2.45l0.008-0.014c0.006-0.012,0.609-1.114,1.744-1.38
    			c0.26-0.06,0.477-0.088,0.685-0.088c1.46,0,2.648,1.188,2.648,2.647c0,0.943-0.496,1.772-1.24,2.241
    			C10.702,6.516,9.494,6.4,9.076,6.335C9.063,6.418,9.055,6.467,9.055,6.47c-0.03,0.192-0.06,0.378-0.091,0.559
    			c0.382,0.134,0.783,0.202,1.193,0.202c1.994,0,3.616-1.622,3.616-3.616S12.152,0,10.158,0z"/>
                </svg>
    
            </i>
                <?php if(($_SESSION['lang']) == "1"): ?>ABOUT
                <?php else: ?>
                    关于<?php endif; ?>
            </p>
            <p>
                <?php if(($_SESSION['lang']) == "1"): echo ($webInfo["en_copyright"]); ?>
                <?php else: ?>
                    <?php echo ($webInfo["copyright"]); endif; ?>
            </p>
        </div>
        <div class="copyright center"><p>©Fantem Technologies 2016.All Rights Reserved</p></div>
    </footer>
</section>


<!-- f-slider-wapper-show -->

<span class="f-slider-wapper-show center" id="js-f-slider-wapper-show">
    <svg xmlns="http://www.w3.org/2000/svg"
         preserveAspectRatio="xMidYMid" viewBox="0 0 20 20">
        <path fill="#FFFFFF" d="M9.702,0C4.353,0,0,4.352,0,9.702s4.354,9.702,9.702,9.702c5.35,0,9.702-4.353,9.702-9.702
			S15.051,0,9.702,0z M9.702,18.404C4.904,18.404,1,14.501,1,9.702S4.904,1,9.702,1s8.702,3.904,8.702,8.702
			S14.5,18.404,9.702,18.404z M10.228,5.242H9.177v3.934H5.243v1.053h3.934v3.932h1.052v-3.932h3.933V9.176h-3.933V5.242z"/>
    </svg>
</span>
</body>
<script src="<?php echo (JS_URL); ?>app.js"></script>
<script src="<?php echo (JS_URL); ?>index.js"></script>
<script>
    $("#but").click(function(){
        var exa_id      =$("#exa_id").val();
        var answer_id   =$("#answer_id").val();
        var user_id     =$("#user_id").val();
        if(answer_id=='' || answer_id==0){
            if("<?php echo $_SESSION['lang'];?>"=='1'){
                alert("Please choose an answer.");
            }else{
                alert("请选择一个答案");
            }
            return false;
        }
        $.post("/ft_system/Home/Allow/ajaxExa",{exa_id:exa_id,answer_id:answer_id,user_id:user_id},function(data){
            
            if(data==true){
                if("<?php echo $_SESSION['lang'];?>"=='1'){
                    alert("Vote for success,thank you for your participation");
                }else{
                    alert("投票成功，感谢您的参与");
                }
                location.reload();
            }else{
                if("<?php echo $_SESSION['lang'];?>"=='1'){
                    alert("You have already voted in this poll.");
                }else{
                    alert('您已参与过投票，请勿重复参与');
                }
            }
        });
    });
    $("#showData").each(function () {  
        $(this).click(function(){ 
            window.location.href="/ft_system/Home/Train/index";
         });
      });
      $("#showNews").each(function () {  
        $(this).click(function(){ 
            window.location.href="<?php echo U('Notice/indexNews',array('sign'=>code('3',1)))?>";
         });
      });
    function clickData(obj){
        var exaVal=$ (obj).val();
        $("#answer_id").val(exaVal);
    }
</script>
</html>

<script>
    $("#showMore").each(function () {  
            $(this).click(function(){ 
                window.location.href="<?php echo U('Notice/indexNews',array('sign'=>code('1',1)))?>";
            });  
        });
     $("#activityList").each(function () {  
            $(this).click(function(){ 
                window.location.href="<?php echo U('Club/activityList')?>";
            });  
        });
</script>